package com.itheim.client.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @Author longbosheng
 * @Date 2022/6/18 9:46
 * @PackageName:com.itheima.pojo
 * @ClassName: Setmeal
 * @Description: TODO
 * @Version 1.0
 */
@Data
@TableName("setmeal")
@Component
public class SetmealVo {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id; //编号
    private String type;
    @TableField(value = "category_id")
    private String categoryId; //所属分类
    private String name; //套餐名
    private BigDecimal price; //价格
    private int status; //0禁用 1启用
    private String code;
    private String description; //描述
    private String image; //配图
}
